package com.zsrt.devbase.dto;

import java.util.List;

import javax.persistence.Table;
import javax.persistence.Transient;

/** 
 * @author leixin  
 * @Email leixin821792669@gmail.com
 * @date 2018年7月4日 下午8:46:01
 * @version 1.0
 */
@Table(name="email_log")
public class EmailLogDTO extends BaseDTO{

	private static final long serialVersionUID = -2610730171407583723L;
	
	private String toList;
	
	private String ccList;
	
	private String subject;
	
	private String content;
	
	private String sendTime;
	
	private String useTemplate;
	
	private String templateId;
	
	private String isSended;
	
	private String errorMsg;
	
	private Integer emailType;
	@Transient
	private List<EmailAttachDTO> emailAttach;

	public String getToList() {
		return toList;
	}

	public void setToList(String toList) {
		this.toList = toList;
	}

	public String getCcList() {
		return ccList;
	}

	public void setCcList(String ccList) {
		this.ccList = ccList;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getSendTime() {
		return sendTime;
	}

	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}

	public String getUseTemplate() {
		return useTemplate;
	}

	public void setUseTemplate(String useTemplate) {
		this.useTemplate = useTemplate;
	}

	public String getTemplateId() {
		return templateId;
	}

	public void setTemplateId(String templateId) {
		this.templateId = templateId;
	}

	public String getIsSended() {
		return isSended;
	}

	public void setIsSended(String isSended) {
		this.isSended = isSended;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	public Integer getEmailType() {
		return emailType;
	}

	public void setEmailType(Integer emailType) {
		this.emailType = emailType;
	}

	public List<EmailAttachDTO> getEmailAttach() {
		return emailAttach;
	}

	public void setEmailAttach(List<EmailAttachDTO> emailAttach) {
		this.emailAttach = emailAttach;
	}

}
